# Set the default
<uiElem type="default">
	typeName = __none__
	objAnim = __none__
	uioElemType = etStatic
	uioTransitionTime = 0.25
	uioTimeOffsetWhenShowing = 0
	uioOffOpacity = 0.0
	uioOnOpacity = 1.0
	uioOff2Opacity = 0.0

	uioTextHorAlign = Center
	uioTextVertAlign = Center
	#uioFont = ftMainFontMed
	#uioFont = ftMainFontSmall
	uioFont = ftMainFontSmallSimple

	animRenderStage = 1
	
	uioTextColor = { 1.0, 1.0, 1.0, 1.0 }	
	uioTextSelColor = { 1.0, 1.0, 1.0, 1.0 }	
#	uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
#	uioTextShadowOffsetX = 1
#	uioTextShadowOffsetY = 1

#	uioTextColor = { 0.263, 0.031, 0, 1.0 }
#	uioTextSelColor = { 0.996, 0.894, 0.443, 1.0 }
	
	# uioTextShadowColor = { 0.58, 0.58, 0.58, 1 }
#	uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
#	uioTextShadowOffsetX = 1
#	uioTextShadowOffsetY = 1

</uiElem>

###############################################################################
# Splash
###############################################################################
<uiElem>
	typeName = splashBack
	uioLayerName = uilSplash

	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioTransitionTime = 0.65
	
	animRenderStage = 5
	
	objTimeToLive = 3.0
	
	<uiElem>
		typeName = splashBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 1.0 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>

	<uiElem>
		typeName = splashLogo
		objAnim = splashLogo
		
		uioOffPosY = -10up
		uioOff2PosY = -10up
		uioOnPosY = -10up
		
		uioTransitionTime = 0.65
		uioAnimateChild = True
	</uiElem>
	
	<uiElem>
		typeName = splashText
		objAnim = splashText
		uioOffPosY = 70up
		uioOnPosY = 70up
		uioOff2PosY = 70up
		
		uioOnPosX = 8up
		uioOffPosX = 8up
		uioOff2PosX = 8up
		
		#uioTimeOffsetWhenShowing = 1.3
		uioTimeOffsetWhenShowing = 0.94
		uioAnimateChild = True
		uioTransitionTime = 0.85
	</uiElem>

</uiElem>

###############################################################################
# Main menu
###############################################################################
<uiElem>
	typeName = mainMenuBack
	uioLayerName = uilMain
	uioElemType = userStartWindow

	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up

	uioObscuresAllBelow = True

	objSizeW = 480up
	objSizeH = 320up

	objAnim = startBack
	#uioAlignHints = { Center, Center }

	uioMusic = { uiMusic }

	<uiElem>
		typeName = gameTitle
		objAnim = titleAnim
		uioOnPosY = -115up
		uioHidden = True
		uioAlignHints = { Top, Center }
	</uiElem>

	<uiElem>
		typeName = bottomEarth
		objAnim = earthAnim
		uioOnPosY = 42up
		uioHidden = True
		uioAlignHints = { Center, Bottom }
	</uiElem>

	<uiElem>
		typeName = newGameButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = -200up
		uioOnPosY = -50up
		uioOffPosY = -50up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Play
		uioAction = uiaStartNewGameOrLoadExisting
		#uioAction = uiaStartContNewGame
		#uioActionValue = 1
		#uioAction = uiaShowLayer
		#uioActionValue = uilGameChoice
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28

	uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
	uioTextShadowOffsetX = 1
	uioTextShadowOffsetY = 1

	</uiElem>

	<uiElem>
		typeName = newGameButton3
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = 456up
		uioOnPosY = 0up
		uioOffPosY = 0up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Instructions
		uioAction = uiaShowLayer
		uioActionValue = uilInstructions
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.15
		#uioTimeOffsetWhenHiding = 0.2
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
		tags = notindemo
	</uiElem>

	<uiElem>
		typeName = newGameButton4
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = -200up
		uioOnPosY = 50up
		uioOffPosY = 50up
		objSizeW = 185up
		objSizeH = 40up
		uioText = High Scores
		uioAction = uiaShowScores
		#uioAction = uiaStartNewGame
		#uioActionValue = 1
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioTimeOffsetWhenShowing = 0.30
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28

	uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
	uioTextShadowOffsetX = 1
	uioTextShadowOffsetY = 1

	</uiElem>

	<uiElem>
		typeName = shareButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = 456up
		uioOnPosY = 100up
		uioOffPosY = 100up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Share
		uioAction = uiaShowLayer
		uioActionValue = uilShare
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTimeOffsetWhenShowing = 0.45

	uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
	uioTextShadowOffsetX = 1
	uioTextShadowOffsetY = 1

	</uiElem>

	<uiElem>
		typeName = soundMuteButton
		#objAnim = symbolsPage:2
		#objBaseAnim = symbolsPage:1
		#uioElemType = etCheckbox
		uioElemType = etButton
		objAnim = symbolsPage:1
		uioOnPosX = -220up
		uioOnPosY = 142up
		uioOffPosX = -220up
		uioOffPosY = 182up
		objSizeW = 60up
		objSizeH = 60up
		#uioAction = uiaToggleSound
		uioAction = uiaShowLayer
		uioActionValue = uilSettings
		uioAnimateChild = True
		uioTransitionTime = 0.2
		uioTimeOffsetWhenShowing = 0.8
		uioAlignHints = { Left, Bottom }
	</uiElem>

	<uiElem>
		typeName = buyFullFrontButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = 456up
		uioOnPosY = 0up
		uioOffPosY = 0up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Buy Full Game
		uioAction = uiaPurchaseFull
		uioTextOffsetY = 1up
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.15
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
		tags = demoonly
	</uiElem>

	<uiElem>
		typeName = smallInstructionsButton
		objAnim = smallInfo
		uioElemType = etButton
		uioOnPosX = 220up
		uioOnPosY = 142up
		uioOffPosX = 220up
		uioOffPosY = 182up
		objSizeW = 60up
		objSizeH = 60up
		uioAction = uiaShowLayer
		uioActionValue = uilInstructions
		uioAnimateChild = True
		uioTransitionTime = 0.2
		uioTimeOffsetWhenShowing = 0.8
		uioAlignHints = { Right, Bottom }
		tags = demoonly
	</uiElem>


#	<uiElem>
#		typeName = testUpButton
#		objAnim = button2Long
#		objBaseAnim = button2LongPressed
#		uioElemType = etButton
#		uioOnPosX = -130up
#		uioOffPosX = -200up
#		uioOnPosY = 50up
#		uioOffPosY = 50up
#		objSizeW = 185up
#		objSizeH = 40up
#		uioText = Test Score Upload
#		uioAction = uiaTestScoreUpload
#		uioTextOffsetY = 1up
#		uioAnimateChild = True		
#		uioTimeOffsetWhenShowing = 0.30
#		uioStartInterpType = itBezier
#		uioEndInterpType = itBezier
#		uioTransitionTime = 0.28
#	</uiElem>

</uiElem>

###############################################################################
# Share layer
###############################################################################
<uiElem>
	typeName = shareMenu
	uioLayerName = uilShare
	#objAnim = startBack

	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up

	uioOffOpacity = 1.0
	uioOff2Opacity = 1.0
	
	objSizeW = 480up
	objSizeH = 320up
	
	animRenderStage = 3

	<uiElem>
		typeName = shareDarkBack0
		objAnim = startBack
		uioAnimateChild = True
	</uiElem>

	<uiElem>
		typeName = shareDarkBackMac
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.65 }		
		objSizeW = 480up
		objSizeH = 320up
		uioHidden = True
		uioOffOpacity = 0.0
		uioOff2Opacity = 0.0
		uioAnimateChild = True
	</uiElem>

	<uiElem>
		typeName = shareDarkBack1
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.65 }		
		objSizeW = 480up
		objSizeH = 100up
		uioOnPosX = 0
		uioOffPosX = -480up
		uioOnPosY = -110up
		uioOffPosY = -110up
		uioAnimateChild = True
		uioOffOpacity = 1.0
		uioOff2Opacity = 1.0
	</uiElem>

	<uiElem>
		typeName = shareDarkBack2
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.45 }		
		objSizeW = 480up
		objSizeH = 120up
		uioOnPosX = 0
		uioOffPosX = 480up
		uioAnimateChild = True
		uioOffOpacity = 1.0
		uioOff2Opacity = 1.0
	</uiElem>
	
	<uiElem>
		typeName = shareDarkBack3
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.65 }		
		objSizeW = 480up
		objSizeH = 100up
		uioOnPosX = 0
		uioOffPosX = -480up
		uioOnPosY = 110up
		uioOffPosY = 110up
		uioAnimateChild = True
		uioOffOpacity = 1.0
		uioOff2Opacity = 1.0
	</uiElem>

	<uiElem>
		typeName = shareTitle
		uioText = Spread the Joy! :)
		uioOnPosX = 0up
		uioOffPosX = 0up
		uioOnPosY = -110up
		#uioOffPosY = -110up
		uioOffPosY = -190up
		uioFont = ftMainFontMedSmall
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.50
		#uioOnScale = 1.0
		#uioOffScale = 0.0
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

		uioAlignHints = { __none__, Center }
	</uiElem>	

		
	<uiElem>
		typeName = shareFacebookButton
		objAnim = squareButton
		objBaseAnim = squareButtonPressed
		uioElemType = etButton
		uioOnPosX = -100up
		uioOffPosX = -100up
		uioOnPosY = 0up
		objSizeW = 64up
		objSizeH = 64up
		objBoxOffsetY = 7up
		uioAction = uiaShareFacebook
		uioOnScale = 1.0
		uioOffScale = 0.0
		uioTimeOffsetWhenShowing = 0.25
		uioAnimateChild = True
		<uiElem>
			typeName = shareFBIcon
			objAnim = shareIcons:1
		</uiElem>
	</uiElem>
	
	<uiElem>
		typeName = shareEmailButton
		objAnim = squareButton
		objBaseAnim = squareButtonPressed
		uioElemType = etButton
		uioOnPosX = 0up 
		uioOnPosY = 0up
		objSizeW = 64up
		objSizeH = 64up
		objBoxOffsetY = 7up
		uioAction = uiaTellFriend
		uioOnScale = 1.0
		uioOffScale = 0.0
		uioTimeOffsetWhenShowing = 0.35
		uioAnimateChild = True
		<uiElem>
			typeName = shareEmailIcon
			objAnim = shareIcons:3
		</uiElem>
	</uiElem>

	
	<uiElem>
		typeName = shareTwitterButton
		objAnim = squareButton
		objBaseAnim = squareButtonPressed
		uioElemType = etButton
		uioOnPosX = 100up
		uioOffPosX = 100up
		uioOnPosY = 0up
		objSizeW = 64up
		objSizeH = 64up
		objBoxOffsetY = 7up
		uioAction = uiaShareTwitter
		uioOnScale = 1.0
		uioOffScale = 0.0
		uioTimeOffsetWhenShowing = 0.45
		uioAnimateChild = True
		<uiElem>
			typeName = shareTwIcon
			objAnim = shareIcons:2
		</uiElem>
	</uiElem>

	<uiElem>
		typeName = shareCloseButton
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 160up
		objSizeH = 42up
		uioOnPosX = 0up
		uioOffPosX = 0up
		uioOnPosY = 120up
		#uioOffPosY = 120up
		uioOffPosY = 190up
		uioText = Close
		uioAction = uiaHideLayer
		uioActionValue = uilShare
		uioFillBack = True
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.50
		#uioOnScale = 1.0
		#uioOffScale = 0.0
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

		uioAlignHints = { __none__, Center }

	</uiElem>


</uiElem>


#####################################################
# High scores section 
#####################################################
# Cells
<uiElem>
	typeName = hsNameCell
	uioElemType = userHighScoresCell
	objAnim = __none__
	uioLayerName = __none__
	objSizeW = 277up
	objSizeH = 28up
#	uioFont = ftMainFontMed
	uioTextHorAlign = Left
	uioTextVertAlign = Center
	uioText = TEST
	uioTextOffsetX = -123up

	uioTextSelColor = { 0.0, 0.0, 0.0, 1.0 }

#	uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
#	uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
#	uioTextSelColor = { 0.50, 0, 0, 1 }
</uiElem>

<uiElem>
	typeName = hsTimeCell
	uioElemType = userHighScoresCell
	objAnim = __none__
	uioLayerName = __none__
	objSizeW = 188up
	objSizeH = 28up
#	uioFont = ftMainFontMed
	uioTextHorAlign = Right
	uioTextVertAlign = Center
	uioText = 1Y 12M 4D
	uioTextOffsetX = 70up

	uioTextSelColor = { 0.0, 0.0, 0.0, 1.0 }
	
#	uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
#	uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
#	uioTextSelColor = { 0.50, 0, 0, 1 }
</uiElem>

<uiElem>

	typeName = hsWindow
	uioLayerName = uilHighScores
	uioElemType = userScoresParentWindow

	objAnim = gameGroundPlane
	animRenderStage = 6
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOffPosX = 240up
	uioOffPosY = 160up
	uioOffOpacity = 0.0
	uioOnPosX = 240up
	uioOnPosY = 160up
	uioOnOpacity = 1.0
	uioOff2PosX = 240up
	uioOff2PosY = 160up
	uioOff2Opacity = 0.0
	
	<uiElem>
		typeName = ngMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.65 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	#<uiElem>
	#	typeName = ngMenuBackPaper
	#	objAnim = gameMapBack
	#</uiElem>	

	<uiElem>
		typeName = hsLeftDec
		objAnim = screenDecorAnim
		uioAlignHints = { Left, Bottom }
		uioOnPosX = -237up
		uioOnPosY = 50up
	</uiElem>	

	<uiElem>
		typeName = hsRightDec
		objAnim = screenDecorAnim
		uioOnScale = -1.0
		uioOnPosX = 237up
		uioOnPosY = -50up
		uioAlignHints = { Right, Top }
	</uiElem>	
	
	# Title
	<uiElem>
		typeName = mmScoresDialogTitle
		uioElemType = etButton
		objSizeW = 200up
		objSizeH = 40up
		uioText = LOCAL SCORES TEMP
		uioOnPosY = -144up
		#uioTextColor = { 0.996, 0.894, 0.443, 1.0 }
		uioAlignHints = { Center, Top }
		uioAction = uiaToggleScoreGameDiff
		uioFont = ftMainFontMedSmall
	</uiElem>

	# Table header
	<uiElem>
		typeName = hsNameTitle
		objAnim = uiScoresTitle
		uioOnPosX = -95up
		uioOnPosY = -110up
		#uioFont = ftMainFontMed
		uioText = Name
		uioTextOffsetY = 0up
		objSizeW = 277up
		objSizeH = 40up
		uioFillBack = True
	</uiElem>
	
	<uiElem>
		typeName = hsTimeTitle
		objAnim = uiScoresTitle
		uioOnPosX = 134up
		uioOnPosY = -110up
		#uioFont = ftMainFontMed
		uioText = Score
		uioTextOffsetY = 0up
	</uiElem>
	
	# Table
	<uiElem>
		typeName = hsTable
		uioElemType = userScoresTable
		# uioOnPosX = -28up
		uioOnPosY = 12up
		objSizeW = 467up
		objSizeH = 208up
		uioTableNumColumns = 2
		uioTableCellSpacing = 0
		uioTableCellTypes = { hsNameCell, hsTimeCell }
		uioTableAllowSelection = False
	</uiElem>
	
	# Bottom buttons
	<uiElem>
		typeName = toggleScoresBtn
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 160up
		objSizeH = 42up
		uioOnPosX = -150up
		uioOnPosY = 134up
		uioText = Show Global
		uioAction = uiaToggleScores
		uioAlignHints = { Left, Bottom }
	</uiElem>
	
	<uiElem>
		typeName = closeScores
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 160up
		objSizeH = 42up
		uioOnPosX = 150up
		uioOnPosY = 134up
		uioText = Close
		uioAction = uiaHideHighScores
		uioAlignHints = { Right, Bottom }
	</uiElem>
	
	<uiElem>
		typeName = mmMidText
		uioText = MID TEXT
		uioFont = ftMainFontMedSmall
	</uiElem>

	<uiElem>
		typeName = showGCButton
		uioElemType = etButton
		objAnim = gameCenter
		objSizeW = 42up
		objSizeH = 42up
		uioOnPosX = 209up
		uioOnPosY = -143up
		uioAction = uiaShowGameCenter
		uioAlignHints = { Right, Top }
	</uiElem>

	<uiElem>
		typeName = toggleModeButton
		uioElemType = etButton
		objAnim = diffAtlas:4
		objSizeW = 100up
		objSizeH = 42up
		uioOnPosX = -217up
		uioOnPosY = -143up
		uioAction = uiaToggleScoreGameMode
		uioAlignHints = { __none___, Top }
		uioText = Test
		uioTextOffsetX = 15up
		uioTextOffsetY = 1up
		uioTextHorAlign = Left
	</uiElem>
	
</uiElem>

#####################################################
# New game choice
#####################################################
<uiElem>
	typeName = newGameChoice
	uioLayerName = uilGameChoice
	objAnim = startBack
	uioElemType = userGameChoiceWindow

	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	objSizeW = 480up
	objSizeH = 320up
	
	animRenderStage = 2

	<uiElem>
		typeName = ngcGameTitle
		objAnim = titleAnim
		uioOnPosY = -115up
		uioHidden = True
		uioAlignHints = { Top, Center }
	</uiElem>

	<uiElem>
		typeName = ngcBottomEarth
		objAnim = earthAnim
		uioOnPosY = 42up
		uioHidden = True
		uioAlignHints = { Center, Bottom }
	</uiElem>


	<uiElem>
		typeName = contGameButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = -200up
		uioOnPosY = -50up
		uioOffPosY = -50up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Campaign
		uioAction = uiaStartContNewGame
		uioActionValue = Single
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
	</uiElem>

	<uiElem>
		typeName = speedGameButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = 456up
		uioOnPosY = 0up
		uioOffPosY = 0up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Speed Havoc
		uioAction = uiaStartContNewGame
		uioActionValue = Timed
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.15
		#uioTimeOffsetWhenHiding = 0.2
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
	</uiElem>

	<uiElem>
		typeName = sniperGameButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = -200up
		uioOnPosY = 50up
		uioOffPosY = 50up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Sniper Mode
		uioAction = uiaStartContNewGame
		uioActionValue = Accuracy
		#uioAlignHints = { Center, Center }
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioTimeOffsetWhenShowing = 0.30
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
	</uiElem>

	<uiElem>
		typeName = loadSavedButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOffPosX = 456up
		uioOnPosY = 100up
		uioOffPosY = 100up
		objSizeW = 185up
		objSizeH = 40up
		uioText = Continue Saved
		uioAction = uiaStartSavedGame
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioTimeOffsetWhenShowing = 0.45
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
	</uiElem>

	<uiElem>
		typeName = gameDiffEnum
		uioEnumValues = { Easy, Medium, Hard } 
		uioEnumAnims = { diffAtlas:1, diffAtlas:2, diffAtlas:3 }
		uioElemType = etButton
		uioOnPosX = -215up
		uioOnPosY = 135up
		uioOffPosX = -215up
		uioOffPosY = 182up
		objSizeW = 185up
		objSizeH = 40up
		#uioText = Easy
		uioAction = uiaSaveOneOption
		uioActionValue = setGameDiff
		uioTextOffsetY = 1up
		uioAnimateChild = True		
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioTransitionTime = 0.28
		uioTextShadowColor = { 0.18, 0.18, 0.18, 1 }
		uioTextShadowOffsetX = 1
		uioTextShadowOffsetY = 1
		uioTextOffsetX = 19up
		uioTextHorAlign = Left
		uioAlignHints = { Left, Bottom }
		uioTimeOffsetWhenShowing = 0.4
	</uiElem>

	<uiElem>
		typeName = gameModeInfo
		objAnim = smallInfo
		uioElemType = etButton
		uioOnPosX = 215up
		uioOnPosY = 139up
		uioOffPosX = 215up
		uioOffPosY = 182up
		objSizeW = 60up
		objSizeH = 60up
		uioAction = uiaShowLayer
		uioActionValue = uilNewGameInfo
		uioAnimateChild = True
		uioTransitionTime = 0.2
		uioTimeOffsetWhenShowing = 0.4
		uioAlignHints = { Right, Bottom }
	</uiElem>


	
	
</uiElem>

#####################################################
# Login/submit scores screen
#####################################################
<uiElem>
	typeName = mmLoginDialogWindow
	uioLayerName = uilLogin
	uioElemType = userLoginWindow
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 125up
	uioOffPosY = 125up
	uioOff2PosY = 125up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	

	animRenderStage = 6
	
	<uiElem>
		typeName = loginMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
		uioOnPosY = 35up
	</uiElem>
	
	<uiElem>
		typeName = loginMenuBackHs2
		objAnim = largeDialogAnim
	</uiElem>	

	<uiElem>
		typeName = loginTitle
		uioText = Game Over!
		uioTextHorAlign = Center
		uioTextVertAlign = Top
		uioOnPosY = -85up
		uioTextWidth = 350up
		uioFont = ftMainFontMed
	</uiElem>	

	<uiElem>
		typeName = loginText
		uioText = You earned
		uioTextHorAlign = Center
		uioTextVertAlign = Top
		uioOnPosX = -90up
		uioOnPosY = -50up
		uioTextWidth = 350up
		uioFont = ftMainFontMedSmall
	</uiElem>	

	<uiElem>
		typeName = loginText2
		uioText = Please enter your name for score submission:
		uioTextHorAlign = Center
		uioTextVertAlign = Top
		uioOnPosX = -2up
		uioOnPosY = -60up
		uioTextWidth = 350up
		uioFont = ftMainFontMedSmall
	</uiElem>	

	<uiElem>
		typeName = loginPointsIcon
		objAnim = largeCoin
		uioText = 30,000
		uioFont = ftMainFontMed
		uioTextOffsetX = 21up
		uioTextOffsetY = -3up
		uioTextHorAlign = Left
		uioOnPosX = 0up
		uioOnPosY = -40up
		<uiElem>
			typeName = loginPointsSmallText
			uioText = Points
			uioFont = ftMainFontSmall
			uioTextHorAlign = Left
			uioOnPosX = 21up
			uioOnPosY = 14up
		</uiElem>
	</uiElem>


	<uiElem>
		typeName = mmUsernameField
		uioElemType = etTextField
		objAnim = textFieldAnim
		uioOnPosX = 0
		uioOnPosY = 10up
		uioText = Test Name
		uioTextOffsetX = -90up
		uioTextHorAlign = Left
		uioTextIsProtected = False
		objSizeW = 170up
		objSizeH = 46up
		uioFont = ftMainFontMedSmall
	</uiElem>

	<uiElem>
		typeName = loginSubmitButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 70up
		uioOnPosY = 58up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Submit
		uioAction = uiaSubmitLogin
		#uioAlignHints = { Center, Center }
	</uiElem>

	<uiElem>
		typeName = loginCancelButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = -70up
		uioOnPosY = 58up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Skip
		uioAction = uiaHideLogin
		#uioAlignHints = { Center, Center }
	</uiElem>	
	
</uiElem>	

#####################################################
# Share screen
#####################################################
<uiElem>
	typeName = shareScoreDialog
	uioLayerName = uilShareScore
	

	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 7
	
	<uiElem>
		typeName = shareScoreMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = shareScoreMenuBackHs2
		#objAnim = uiDialogBackAnim
		objAnim = gameMapBack
	</uiElem>	
		
#	<uiElem>
#		typeName = shareScoreEndClick
#		uioElemType = etButton
#		objSizeW = 480up
#		objSizeH = 320up
#		uioAction = uiaLevelFinished
#		animRenderStage = 1
#	</uiElem>
		
	<uiElem>
		typeName = shareScoreText
		uioText = Would you like to share^your score with friends?
		#uioTextWidth = 270up
		uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
		uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
		uioTextHorAlign = Center
		uioTextVertAlign = Top
		uioOnPosY = -90up
	</uiElem>
	
	<uiElem>
		typeName = shareScoreCancelButton
		objAnim = button2Long
		objBaseAnim = button2LongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 80up
		objSizeW = 170up
		objSizeH = 46up
		uioText = Maybe Later
		uioAction = uiaHideLayer
		uioActionValue = uilShareScore
		uioAlignHints = { Center, Center }
		uioTextOffsetY = 3up
	</uiElem>	
	
	<uiElem>
		typeName = shareScoreFacebookButton
		objAnim = shareIcons:1
		uioElemType = etButton
		uioOnPosX = -55up
		uioOnPosY = -12up
		objSizeW = 60up
		objSizeH = 60up
		objBoxOffsetY = 7up
		uioText = Facebook
		uioAction = uiaShareScoreFacebook
		uioTextOffsetY = 30up
		
		uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
		uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
	</uiElem>

	
	<uiElem>
		typeName = shareScoreTwitterButton
		objAnim = shareIcons:2
		uioElemType = etButton
		uioOnPosX = 55up
		uioOnPosY = -12up
		objSizeW = 60up
		objSizeH = 60up
		objBoxOffsetY = 7up
		uioText = Twitter
		uioAction = uiaShareScoreTwitter
		uioTextOffsetY = 30up
		
		uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
		uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
	</uiElem>
	
</uiElem>	



#####################################################
# Uploading screen
#####################################################
<uiElem>

	typeName = uploadingWindow
	uioLayerName = uilUploadingScore
	animRenderStage = 7

	objSizeW = 480up
	objSizeH = 320up
	uioOffPosX = 240up
	uioOffPosY = 160up
	uioOffOpacity = 0.0
	uioOnPosX = 240up
	uioOnPosY = 160up
	uioOnOpacity = 1.0
	uioOff2PosX = 240up
	uioOff2PosY = 160up
	uioOff2Opacity = 0.0

		
	# First, the black background
	<uiElem>
		typeName = uplMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = uplMenuBackPaper
		objAnim = largeDialogAnim
	</uiElem>	
	
	# Now add buttons
	<uiElem>
		typeName = laterButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 70up
		uioOnPosY = 40up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Upload Later
		uioAction = uiaPostponeScoreUpload
		#uioAlignHints = { Center, Center }
	</uiElem>

	<uiElem>
		typeName = cancelButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = -70up
		uioOnPosY = 40up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Cancel
		uioAction = uiaCancelScoreUpload
		#uioAlignHints = { Center, Center }
	</uiElem>	

	<uiElem>
		typeName = upMidText
		uioText = Uploading Scores...
		uioOnPosX = 0up
		uioOnPosY = -30up
		uioFont = ftMainFontMedSmall
	</uiElem>
	
</uiElem>

#####################################################
# Resubmit screen
#####################################################
<uiElem>

	typeName = resubmitWindow
	uioLayerName = uilResubmitScore
	animRenderStage = 7

	objSizeW = 480up
	objSizeH = 320up
	uioOffPosX = 240up
	uioOffPosY = 160up
	uioOffOpacity = 0.0
	uioOnPosX = 240up
	uioOnPosY = 160up
	uioOnOpacity = 1.0
	uioOff2PosX = 240up
	uioOff2PosY = 160up
	uioOff2Opacity = 0.0

		
	# First, the black background
	<uiElem>
		typeName = resMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = resMenuBackPaper
		objAnim = largeDialogAnim
	</uiElem>	
	
	# Now add buttons
	<uiElem>
		typeName = nowButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = -70up
		uioOnPosY = 18up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Upload Now
		uioAction = uiaUploadAllNow
	</uiElem>	

	<uiElem>
		typeName = reslaterButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 70up
		uioOnPosY = 18up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Upload Later
		uioAction = uiaPostponeScoreUpload
	</uiElem>		

	<uiElem>
		typeName = resCancelButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 60up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Never
		uioAction = uiaCancelAllScoreUploads
	</uiElem>		

	<uiElem>
		typeName = upqMidText
		uioText = Some scores have not been uploaded yet. Do you want to upload them now?
		uioOnPosX = -5up
		uioOnPosY = -42up
		uioFont = ftMainFontMedSmall
		uioTextWidth = 300up
	</uiElem>
	
</uiElem>

#####################################################
# Purchasing window
#####################################################

<uiElem>

	typeName = purchasingWindow
	uioLayerName = uilPurchasing
	animRenderStage = 7

	objSizeW = 480up
	objSizeH = 320up
	uioOffPosX = 240up
	uioOffPosY = 160up
	uioOffOpacity = 0.0
	uioOnPosX = 240up
	uioOnPosY = 160up
	uioOnOpacity = 1.0
	uioOff2PosX = 240up
	uioOff2PosY = 160up
	uioOff2Opacity = 0.0

		
	# First, the black background
	<uiElem>
		typeName = purMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = purMenuBackPaper
		objAnim = largeDialogAnim
	</uiElem>	
	
	<uiElem>
		typeName = purmmMidText
		uioText = Contacting iTunes...
		uioOnPosX = 0up
		uioOnPosY = -20up
		uioFont = ftMainFontMedSmall
	</uiElem>

	<uiElem>
		typeName = purCancelButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 55up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Cancel
		uioAction = uiaCancelPurchase
	</uiElem>			
	
</uiElem>

#####################################################
# Thank you window
#####################################################

<uiElem>

	typeName = thankyouWindow
	uioLayerName = uilThankyou
	animRenderStage = 7

	objSizeW = 480up
	objSizeH = 320up
	uioOffPosX = 240up
	uioOffPosY = 160up
	uioOffOpacity = 0.0
	uioOnPosX = 240up
	uioOnPosY = 160up
	uioOnOpacity = 1.0
	uioOff2PosX = 240up
	uioOff2PosY = 160up
	uioOff2Opacity = 0.0

		
	# First, the black background
	<uiElem>
		typeName = thkMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = thkMenuBackPaper
		objAnim = largeDialogAnim
	</uiElem>	
	
	<uiElem>
		typeName = thkMidText
		uioText = Thank you for purchasing the full version of the game! We greatly appreciate your support.
		uioOnPosX = -3up
		uioOnPosY = -30up
		uioFont = ftMainFontMedSmall
		uioTextWidth = 300up
	</uiElem>
	
#	<uiElem>
#		typeName = thkMidText2
#		uioText =  of the game! We greatly appreciate your support.
#		uioOnPosX = 0up
#		uioOnPosY = -10up
#		uioFont = ftMainFontMedSmall
#	</uiElem>
	
	<uiElem>
		typeName = thkCancelButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 55up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Close
		uioAction = uiaThankYouForFullClose
		#uioAction = uiaHideLayer
		#uioActionValue = uilThankyou
	</uiElem>			
	
</uiElem>


###############################################################################
# Help window
###############################################################################

<uiElem>
	typeName = helpDialog
	uioLayerName = uilInstructions
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5

	uioSlidingChildren = { helpScreen1, helpScreen2, helpScreen3, helpScreen4, helpScreen5 }

	<uiElem>
		typeName = helpBackSolid
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.7 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>

	<uiElem>
		typeName = helpBackHs
		objAnim = largeDialogAnim
	</uiElem>	

	<uiElem>
		typeName = helpCloseButton
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 160up
		objSizeH = 42up
		uioOnPosX = 0up
		uioOnPosY = 120up
		uioText = Close
		uioAction = uiaHideLayer
		uioActionValue = uilInstructions
		uioFillBack = True
	</uiElem>

	<uiElem>
		typeName = helpPrevButton
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 60up
		objSizeH = 42up
		uioOnPosX = -107up
		uioOnPosY = 120up
		uioAction = uiaSlidePrevious
		uioFillBack = True
		<uiElem>
			typeName = helpPrevImage
			objAnim = arrowLeft
			uioOnPosX = -2up
		</uiElem>
	</uiElem>

	<uiElem>
		typeName = helpNextButton
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 60up
		objSizeH = 42up
		uioOnPosX = 107up
		uioOnPosY = 120up
		uioAction = uiaSlideNext
		uioFillBack = True
		<uiElem>
			typeName = helpNextImage
			objAnim = arrowRight
			uioOnPosX = 2up
		</uiElem>
	</uiElem>

	###############################################################################
	# Screen 1
	###############################################################################
	<uiElem>
		typeName = helpScreen1
		objSizeW = 310up
		objSizeH = 195up
		objBoxOffsetY = -90up
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

	
		<uiElem>
			typeName = helpTitle1
			uioText = Introduction
			uioOnPosX = 0up
			uioOnPosY = -66up
			uioFont = ftMainFontMedSmall
		</uiElem>	

		<uiElem>
			typeName = helpText1
			uioText = The basic premise of the game is simple - destroy everything that moves and that doesn't, as soon as possible in as many numbers as possible.^^To help you with this important mission, we've created some of the most powerful and spectacular weapons we could think of.
			uioOnPosX = -2up
			uioOnPosY = -48up
			uioTextWidth = 290up
			uioFont = ftMainFontSmallSimple
			#uioTextHorAlign = Left
			uioTextVertAlign = Top
		</uiElem>	
	</uiElem>

	###############################################################################
	# Screen 2
	###############################################################################
	<uiElem>
		typeName = helpScreen2
		objSizeW = 310up
		objSizeH = 195up
		objBoxOffsetY = -90up
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

	
		<uiElem>
			typeName = helpTitle2
			uioText = Controls
			uioOnPosX = 0up
			uioOnPosY = -66up
			uioFont = ftMainFontMedSmall
		</uiElem>	

		<uiElem>
			typeName = helpText2
			uioText = The controls in the game are standard for a dual-stick shooter. Touch the left circle to move your ship in the desired direction, touch the right one to shoot in a different direction.^^Sometimes, you will pick up special one-time use weapons, and two new buttons will appear close to the right circle that controls shooting.
			uioOnPosX = -2up
			uioOnPosY = -48up
			uioTextWidth = 290up
			uioFont = ftMainFontSmallSimple
			#uioTextHorAlign = Left
			uioTextVertAlign = Top
		</uiElem>	
	</uiElem>

	###############################################################################
	# Screen 3
	###############################################################################
	<uiElem>
		typeName = helpScreen3
		objSizeW = 310up
		objSizeH = 195up
		objBoxOffsetY = -90up
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

	
		<uiElem>
			typeName = helpTitle3
			uioText = Superbombs
			uioOnPosX = 0up
			uioOnPosY = -66up
			uioFont = ftMainFontMedSmall
		</uiElem>	

		<uiElem>
			typeName = helpText3
			uioText = Two such special, one-time use weapons are special bombs developed by us:
			uioOnPosX = -2up
			uioOnPosY = -48up
			uioTextWidth = 290up
			uioFont = ftMainFontSmallSimple
			#uioTextHorAlign = Left
			uioTextVertAlign = Top
		</uiElem>	

		<uiElem>
			typeName = helpIcon3a
			uioText = This bomb, when thrown, pushes away all adjacent enemies in different directions.
			uioOnPosX = -125up
			uioOnPosY = 4up
			uioFont = ftMainFontSmallSimple
			objAnim = bombsAtlas:2
			uioTextWidth = 260up
			uioTextHorAlign = Left
			uioTextVertAlign = Top
			uioTextOffsetX = 20up
			uioTextOffsetY = -6up
		</uiElem>	

		<uiElem>
			typeName = helpIcon3b
			uioText = This bomb produces a rotating multi-laser blast which destroys everything it touches.
			uioOnPosX = -125up
			uioOnPosY = 48up
			uioFont = ftMainFontSmallSimple
			objAnim = bombsAtlas:3
			uioTextWidth = 260up
			uioTextHorAlign = Left
			uioTextVertAlign = Top
			uioTextOffsetX = 20up
			uioTextOffsetY = -6up
		</uiElem>	
	</uiElem>

	###############################################################################
	# Screen 4
	###############################################################################
	<uiElem>
		typeName = helpScreen4
		objSizeW = 310up
		objSizeH = 195up
		objBoxOffsetY = -90up
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

	
		<uiElem>
			typeName = helpTitle4
			uioText = Timed Powerups
			uioOnPosX = 0up
			uioOnPosY = -66up
			uioFont = ftMainFontMedSmall
		</uiElem>	

		<uiElem>
			typeName = helpText4
			uioText = Other items you pick up are timed powerups that take effect immediately, and run until they expire:
			uioOnPosX = -2up
			uioOnPosY = -48up
			uioTextWidth = 290up
			uioFont = ftMainFontSmallSimple
			#uioTextHorAlign = Left
			uioTextVertAlign = Top
		</uiElem>	

		<uiElem>
			typeName = helpIcon4a
			uioText = This powerup makes you invincible for ten seconds in the game.
			uioOnPosX = -125up
			uioOnPosY = 10up
			uioFont = ftMainFontSmallSimple
			objAnim = poweurpsAtlas:3
			uioTextWidth = 260up
			uioTextHorAlign = Left
			uioTextVertAlign = Top
			uioTextOffsetX = 20up
			uioTextOffsetY = -12up
		</uiElem>	

		<uiElem>
			typeName = helpIcon4b
			uioText = This is quad damage, which, while active, causes all your weapons to inflict 4x the damage they normally would.
			uioOnPosX = -125up
			uioOnPosY = 45up
			uioFont = ftMainFontSmallSimple
			objAnim = poweurpsAtlas:4
			uioTextWidth = 250up
			uioTextHorAlign = Left
			uioTextVertAlign = Top
			uioTextOffsetX = 20up
			uioTextOffsetY = -12up
		</uiElem>	
	</uiElem>

	###############################################################################
	# Screen 5
	###############################################################################
	<uiElem>
		typeName = helpScreen5
		objSizeW = 310up
		objSizeH = 195up
		objBoxOffsetY = -90up
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier

	
		<uiElem>
			typeName = helpTitle5
			uioText = Other Powerups
			uioOnPosX = 0up
			uioOnPosY = -66up
			uioFont = ftMainFontMedSmall
		</uiElem>	

		<uiElem>
			typeName = helpText5
			uioText = The last two powerups affect your hitpoints and weapon equipment levels:
			uioOnPosX = -2up
			uioOnPosY = -48up
			uioTextWidth = 290up
			uioFont = ftMainFontSmallSimple
			#uioTextHorAlign = Left
			uioTextVertAlign = Top
		</uiElem>	

		<uiElem>
			typeName = helpIcon5a
			uioText = Upgrades your weapon systems to the next, more powerful, level.
			uioOnPosX = -125up
			uioOnPosY = 3up
			uioFont = ftMainFontSmallSimple
			objAnim = poweurpsAtlas:1
			uioTextWidth = 250up
			uioTextHorAlign = Left
			uioTextVertAlign = Top
			uioTextOffsetX = 20up
			uioTextOffsetY = -12up
		</uiElem>	

		<uiElem>
			typeName = helpIcon5b
			uioText = Performs a partial repair of your ship, increasing your current hitpoints.
			uioOnPosX = -125up
			uioOnPosY = 45up
			uioFont = ftMainFontSmallSimple
			objAnim = poweurpsAtlas:2
			uioTextWidth = 250up
			uioTextHorAlign = Left
			uioTextVertAlign = Top
			uioTextOffsetX = 20up
			uioTextOffsetY = -12up
		</uiElem>	
	</uiElem>


</uiElem>

#####################################################
# Enable game center dialog
#####################################################

<uiElem>
	typeName = enableGCDialog
	uioLayerName = uilGCEnableDialog
	objSizeW = 480up
	objSizeH = 320up
	uioOffPosX = 240up
	uioOffPosY = 160up
	uioOffOpacity = 0
	uioOnPosX = 240up
	uioOnPosY = 160up
	uioOnOpacity = 1
	uioOff2PosX = 240up
	uioOff2PosY = 160up
	uioOff2Opacity = 0
	animRenderStage = 7
	
	<uiElem>
		typeName = egcBlackBack
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0,  0.5 }
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = egcDialogBack
		objAnim = largeDialogAnim
		objSizeW = 480up
		objSizeH = 320up

		<uiElem>
			typeName = egcBottomTitle
			uioText = Enable Game Center?
			uioFont = ftMainFontMedSmall
			uioOnPosY = -62up
		</uiElem>

		<uiElem>
			typeName = egcBottomText
			uioText = Game Center integration allows you to submit global highscores to your Game Center profile. Would you like to turn it on now?
			uioOnPosX = 0up
			uioOnPosY = -37up
			uioTextVertAlign = Top
			uioTextWidth = 280up
			uioFont = ftMainFontSmallSimple
		</uiElem>

		<uiElem>
			typeName = egcSubmitButton
			uioElemType = etButton
			objAnim = button2Short
			objBaseAnim = button2ShortPressed
			objSizeW = 128up
			objSizeH = 40up
			uioOnPosX = 70up
			uioOnPosY = 50up
			uioText = Enable
			uioAction = uiaEnableGC
			#uioFillBack = True
		</uiElem>

		<uiElem>
			typeName = egcSancelButton
			uioElemType = etButton
			objAnim = button2Short
			objBaseAnim = button2ShortPressed
			objSizeW = 128up
			objSizeH = 40up
			uioOnPosX = -70up
			uioOnPosY = 50up
			uioText = Close
			uioAction = uiaHideLayer
			uioActionValue = uilGCEnableDialog
			#uioFillBack = True
		</uiElem>
		
	</uiElem>
	
</uiElem>

###############################################################################
# Win8 Snapped window
###############################################################################
<uiElem>
	typeName = snappedPause
	uioLayerName = uilSnappedPause
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	objSizeW = 480up
	objSizeH = 320up

	animRenderStage = 8

	#uioOnOpacity = 0.2

	<uiElem>
		typeName = snwBtnClickSolid
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.65 }	
		objSizeW = 480up
		objSizeH = 320up
		animRenderStage = 1
	</uiElem>

	<uiElem>
		typeName = snpEndClick
		uioElemType = etButton
		objSizeW = 480up
		objSizeH = 320up
		uioAction = uiaHideLayer
		uioActionValue = uilSnappedPause
		animRenderStage = 4
	</uiElem>

	<uiElem>
		typeName = swText0
		uioText =  Game
		uioOnPosX = 0up
		uioOnPosY = -13up
		uioFont = ftMainFontMed
	</uiElem>


	<uiElem>
		typeName = swText1
		uioText =  Paused
		uioOnPosX = 0up
		uioOnPosY = 13up
		uioFont = ftMainFontMed
	</uiElem>

	<uiElem>
		typeName = swText2
		uioText =  Tap or Click to Resume
		uioOnPosX = 0up
		uioOnPosY = 52up
		uioFont = ftMainFontSmall
	</uiElem>

#	<uiElem>
#		typeName = swText3
#		uioText =  to Resume
#		uioOnPosX = 0up
#		uioOnPosY = 30up
#		uioFont = ftMainFontSmall
#	</uiElem>


</uiElem>

###############################################################################
# New game info layer
###############################################################################
<uiElem>
	typeName = newGameInfo
	uioLayerName = uilNewGameInfo

	uioOnPosY = 160up
	uioOffPosY = 580up
	uioOff2PosY = 580up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up

	objSizeW = 480up
	objSizeH = 320up

	animRenderStage = 6

	<uiElem>
		typeName = ngiMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.75 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>

	<uiElem>
		typeName = bguEndClick
		uioElemType = etButton
		objSizeW = 480up
		objSizeH = 320up
		uioAction = uiaHideLayer
		uioActionValue = uilNewGameInfo
		animRenderStage = 4
	</uiElem>

	<uiElem>
		typeName = ngiMenuBackHsTitle
		uioOnPosX = 0up
		uioOnPosY = -132up
		uioText = Game Modes
		uioTextHorAlign = Center
		uioTextOffsetY = 2up
		#uioFont = ftMainFontMed
		uioFont = ftMainFontMedSmall
	</uiElem>	

	<uiElem>
		typeName = ngiParOne
		uioOnPosX = -212up
		uioOnPosY = -105up
		uioText = Campaign mode consists of an infinite number of waves of increasingly powerful waves coming at you, with a variety of weapons and powerups provided to you to repel them.
		uioTextWidth = 440up
		uioTextHorAlign = Left
		uioTextVertAlign = Top
		uioFont = ftMainFontSmallSimple
		uioTextSelColor = { 0.957, 0.878, 0.392, 1.0 }

	</uiElem>	

	<uiElem>
		typeName = ngiParTwo
		uioOnPosX = -212up
		uioOnPosY = -38up
		uioText = Speed Havoc mode is a timed mode, where you need to destroy a fixed number of enemies as fast as possible. Your score is the time you take to destroy them all.
		uioTextWidth = 440up
		uioTextHorAlign = Left
		uioTextVertAlign = Top
		uioFont = ftMainFontSmallSimple
		uioTextSelColor = { 0.957, 0.878, 0.392, 1.0 }
	</uiElem>	

	<uiElem>
		typeName = ngiParThree
		uioOnPosX = -212up
		uioOnPosY = 26up
		uioText = Sniper mode puts you on a single level, and gives you a special weapon that is about six time as powerful as the other weapons you get in the game. However, it only fires in short bursts, and your score is the accuracy with which you use it. The game ends when your time runs out.
		uioTextWidth = 440up
		uioTextHorAlign = Left
		uioTextVertAlign = Top
		uioFont = ftMainFontSmallSimple
		uioTextSelColor = { 0.957, 0.878, 0.392, 1.0 }
	</uiElem>	

	<uiElem>
		typeName = ngiTTC
		uioOnPosX = 0up
		uioOnPosY = 125up
		uioText = Tap to Close
		uioFont = ftMainFontSmall
	</uiElem>	

</uiElem>

###############################################################################
# Options window
###############################################################################
<uiElem>
	typeName = settingsParentWnd
	uioLayerName = uilSettings
	uioElemType = userSettingsWindow
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	objSizeW = 480up
	objSizeH = 320up

	animRenderStage = 8

	<uiElem>
		typeName = settingsSolidBack
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.80 }	
		objSizeW = 480up
		objSizeH = 320up
		animRenderStage = 1
	</uiElem>

	<uiElem>
		typeName = settigsTitle
		uioText = Game Settings
		uioOnPosX = 0up
		uioOffPosX = 0up
		uioOnPosY = -110up
		uioOffPosY = -190up
		uioFont = ftMainFontMedSmall
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.25
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
		uioAlignHints = { __none__, Center }
	</uiElem>	

	<uiElem>
		typeName = musicVolLabel
		uioText = Music Volume
		uioOnPosX = -68up
		uioOffPosX = -360up
		uioOnPosY = -45up
		uioOffPosY = -45up
		uioFont = ftMainFontMedSmall
		uioTextHorAlign = Right
		uioAnimateChild = True
	</uiElem>	

	<uiElem>
		typeName = progMusicVolume
		#uioElemType = etProgress
		uioElemType = etSlider
		#objAnim = loadProgressFull
		#objBaseAnim = loadProgressEmpty
		objAnim = progKnob
		objBaseAnim = loadProgressEmpty
		

		uioOnPosX = 45up
		uioOffPosX = 45up
		uioOnPosY = -45up
		uioOffPosY = -45up

		objSizeW = 185up
		objSizeH = 45up

		uioProgressBarDirection	= FromRight
		uioAnimateChild = True
		#uioAlignHints = { Center, Top }

		uioSliderButtonSizes = { 45up }
		uioSliderParms = { __none__, __none__, loadProgressFull, sliderValBack }
		uioTransitionTime = 0.35

		uioSliderValParms = { -35up, 100.0 }
		uioTextFormat = %d%%
		uioTextSelColor = { 0.0, 0.710, 0.914, 1.0 }	
		uioTextOffsetX = 1up
		uioTextOffsetY = -1.5up

	</uiElem>

	<uiElem>
		typeName = musicToggle
		#uioElemType = etButton
		uioElemType = etCheckbox
		#uioText = Mute
		uioTextHorAlign = Right
		uioTextOffsetX = -12up
		objAnim = mute
		objBaseAnim = unmute
		uioOnPosX = 163up
		uioOffPosX = 496up
		uioOnPosY = -45up
		uioOffPosY = -45up
		objSizeW = 40up
		objSizeH = 45up
		uioAnimateChild = True
		uioAction = uiaSaveOneOption
		uioActionValue = setMusic
	</uiElem>

	<uiElem>
		typeName = soundsVolLabel
		uioText = Sound Volume
		uioOnPosX = -68up
		uioOffPosX = -360up
		uioOnPosY = 25up
		uioOffPosY = 25up
		uioFont = ftMainFontMedSmall
		uioTextHorAlign = Right		
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.12
	</uiElem>	

	<uiElem>
		typeName = progSoundVolume
		uioElemType = etSlider
		#uioElemType = etProgress
		#objAnim = loadProgressFull
		#objBaseAnim = loadProgressEmpty
		objAnim = progKnob
		objBaseAnim = loadProgressEmpty


		uioOnPosX = 45up
		uioOffPosX = 45up

		uioOnPosY = 25up
		uioOffPosY = 25up

		objSizeW = 185up
		objSizeH = 45up

		uioProgressBarDirection	= FromRight
		uioAnimateChild = True
		#uioAlignHints = { Center, Top }
		uioTimeOffsetWhenShowing = 0.12

		uioSliderButtonSizes = { 45up }
		uioSliderParms = { __none__, __none__, loadProgressFull, sliderValBack }

		uioSliderValParms = { -35up, 100.0 }
		uioTextFormat = %d%%
		uioTextSelColor = { 0.0, 0.710, 0.914, 1.0 }	
		uioTextOffsetX = 1up
		uioTextOffsetY = -1.5up

		uioTransitionTime = 0.35
	</uiElem>

	<uiElem>
		typeName = soundToggle
		#uioElemType = etButton
		uioElemType = etCheckbox
		#uioText = Mute
		objAnim = mute
		objBaseAnim = unmute
		#objAnim = mute
		uioTextHorAlign = Right
		uioTextOffsetX = -12up
		uioOnPosX = 163up
		uioOffPosX = 496up
		uioOnPosY = 25up
		uioOffPosY = 25up
		objSizeW = 40up
		objSizeH = 45up
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.12
		uioAction = uiaSaveOneOption
		uioActionValue = setSound
	</uiElem>

	<uiElem>
		typeName = fixedControlsToggle
		uioElemType = etCheckbox
		uioText = Use Fixed Control Pads
		objAnim = checkboxAnims:2
		objBaseAnim = checkboxAnims:1
		uioTextHorAlign = Left
		uioTextOffsetX = 20up
		uioTextOffsetY = 1up
		uioOnPosX = -100up
		uioOffPosX = -100up
		uioOnPosY = 70up
		uioOffPosY = 70up
		objSizeW = 220up
		objSizeH = 45up
		objBoxOffsetX = 90up
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.12
		uioAction = uiaSaveOneOption
		uioActionValue = setFixedControls
		uioTransitionTime = 0.35
	</uiElem>



	<uiElem>
		typeName = settingsCloseButton
		uioElemType = etButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		objSizeW = 160up
		objSizeH = 42up
		uioOnPosX = 0up
		uioOffPosX = 0up
		uioOnPosY = 120up
		uioOffPosY = 190up
		uioText = Close
		uioAction = uiaHideLayer
		uioActionValue = uilSettings
		uioFillBack = True
		uioAnimateChild = True
		uioTimeOffsetWhenShowing = 0.25
		uioStartInterpType = itBezier
		uioEndInterpType = itBezier
        uioAlignHints = { __none__, Center }
	</uiElem>


</uiElem>